const DEBUG = 'http://192.168.1.191/fresh_admin/public/';
const RELEASE = 'http://60.205.231.25:8082/';
// const RELEASE = 'http://60.205.231.25:8085/';
const PRODUCTION = true;


const HOST = PRODUCTION ? RELEASE : DEBUG;
const Api = {
    PRODUCTION,
    DEBUG,
    RELEASE,
    HOST,
    //注册
    signUp: 'api/shop/register',

    //登录
    signIn: 'api/shop/login',

    //发送短信验证码
    sendSms: 'api/shop/sendsms',


    //忘记密码(修改密码)
    changePwd: 'api/shop/changePassword',

    //修改店铺信息
    changeShopInfo: 'api/shop/changeBussinessInfo',

    //添加店铺
    createShop: 'api/shop/create',

    //获取市场列表
    markList: 'api/shop/markets',


    //分类列表
    categoryList: 'api/shop/cate',
    //分类添加
    categoryAdd: 'api/shop/cate/add',

    //商品列表
    productList: 'api/shop/product',
    //商品添加
    productAdd: 'api/shop/product/add',

    //商品修改
    productEdit: 'api/shop/product/update',
    //商品删除
    productDelete: 'api/shop/product/delete',

    //收入列表
    incomeList: 'api/shop/turn/store_income',

    //支出(提现列表)
    withdrawList: 'api/shop/turn/store_withdrawals',


    //账户余额
    totalMoney: 'api/shop/turn/store_money_list',


    //提现申请
    withdrawApply: 'api/shop/turn/store_Apply',


    //顶级分类
    topCategories: 'api/bigcate',


    ////////////////订单接口////////////////
    //新订单列表
    newOrder: 'api/shop/order/NewOrder',
    //取消订单列表
    cancelOrder: 'api/shop/order/Cancel',
    //完成订单列表
    finishOrder: 'api/shop/order/Complete',
    //退款售后订单列表
    refundOrder: 'api/shop/order/Refunds',
    progressOrder:'api/shop/order/Conduct',

    //新订单接受
    changeNewOrderStatus:'api/shop/order/newOrderStatus',

    //
    //高德地图ip定位
    geo: 'http://restapi.amap.com/v3/ip',
};
export default Api;